package org.jeecg.modules.mhgoods.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 盲盒商品
 * @Author: jeecg-boot
 * @Date:   2023-05-27
 * @Version: V1.0
 */
@Data
@TableName("box_mhgoods")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="box_mhgoods对象", description="盲盒商品")
public class BoxMhgoods implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**商品名称*/
	@Excel(name = "商品名称", width = 15)
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
	/**归属盲盒*/
	@Excel(name = "归属盲盒", width = 15, dictTable = "box_boxfl", dicText = "box_name", dicCode = "id")
	@Dict(dictTable = "box_boxfl", dicText = "box_name", dicCode = "id")
    @ApiModelProperty(value = "归属盲盒")
    private Integer boxflId;
	/**商品图片*/
	@Excel(name = "商品图片", width = 15)
    @ApiModelProperty(value = "商品图片")
    private String goodsImages;
	/**商品库存*/
	@Excel(name = "商品库存", width = 15)
    @ApiModelProperty(value = "商品库存")
    private Integer goodsStock;
	/**商品价值*/
	@Excel(name = "商品价值", width = 15)
    @ApiModelProperty(value = "商品价值")
    private Double goodsPirce;
	/**运费*/
	@Excel(name = "运费", width = 15)
    @ApiModelProperty(value = "运费")
    private BigDecimal deliveryFee;
	/**添加时间*/
    @ApiModelProperty(value = "添加时间")
    private Integer createTime;
	/**标签:normal=高级,rare=稀有 ,supreme=史诗,legend=传说*/
	@Excel(name = "标签:normal=高级,rare=稀有 ,supreme=史诗,legend=传说", width = 15, dicCode = "goods_tag")
	@Dict(dicCode = "goods_tag")
    @ApiModelProperty(value = "标签:normal=高级,rare=稀有 ,supreme=史诗,legend=传说")
    private String tag;
	/**价值幸运币*/
	@Excel(name = "价值幸运币", width = 15)
    @ApiModelProperty(value = "价值幸运币")
    private BigDecimal luckycoin;
	/**商品描述*/
	@Excel(name = "商品描述", width = 15)
    @ApiModelProperty(value = "商品描述")
    private String ms;
	/**商品概率*/
	@Excel(name = "商品概率", width = 15)
    @ApiModelProperty(value = "商品概率")
    private String probability;
}
